<h1>Set up Data Collection</h1>

<%= form_tag :action => 'create' %>



<div id="formTable">
<table>
<tr>
<td><b>Target date:</b></td>
<td><%= date_select('data_collection', 'target_date', :include_blank => false, :start_year => 2009, :order => [:day, :month, :year]) %></td>
</tr>

<tr>
<td><b>Type:</b></td>
<td><%= collection_select(:data_collection, :data_collection_type_id, DataCollectionType.find(:all), :id, :name) %></td>
</tr>


</table>
</div>

<%= hidden_field :data_collection, :youth_id, :value => params[:youth_id] %> 

<%= submit_tag "Save" %>


